/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.sapra.dao;

public class Pais {
    private Integer paisId;
    private String nombre;

    public Pais(){

    }
    public Pais(int i) {
        paisId = i;
    }

    public String getnombre() {
        return nombre;
    }

    public void setnombre(String nombre) {
        this.nombre = nombre;
    }

    public Integer getpaisId() {
        return paisId;
    }

    public void setpaisId(Integer paisId) {
        this.paisId = paisId;
    }

    @Override
    public String toString() {
        return nombre;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final Pais other = (Pais) obj;
        if (this.paisId != other.paisId && (this.paisId == null || !this.paisId.equals(other.paisId))) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 7;
        return hash;
    }


    
}
